package com.li.springbootproject.temptableuse.controller;

import com.li.springbootproject.temptableuse.service.OracleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 10/12/2022 10:14 AM
 */
@RestController
@RequestMapping("/oracle")
public class OracleController {

    @Autowired
    private OracleService oracleService;

    /**
     * Mysql 临时表使用测试
     */
    @RequestMapping("/temptable/insert")
    public void tempTableInsert() {
        oracleService.tempTableInsert();
    }

}
